package com.epam.task.thread;

import org.apache.log4j.Logger;

/**
 * Created with IntelliJ IDEA.
 * User: zhunusbekova.arailym
 * Date: 02.09.13
 * Time: 9:28
 * To change this template use File | Settings | File Templates.
 */
public class Operator {
    private static final Logger log = Logger.getLogger(Operator.class);
    private String name;
    private OperatorStatus status;

    public Operator(String n) {
        name = n;
        status = OperatorStatus.AVAILABLE;
    }

    public OperatorStatus getStatus() {
        return status;
    }

    public void setStatus(OperatorStatus status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public synchronized void takeTheCall(Client client) {

    }

    public boolean isClosed() {
    }

    public boolean getAutoCommit() {
    }

    public void commit() {
    }

    public void close() {
    }
}
